package 面向对象.课堂练习;

/**
 * @author IT_Jay
 * @date 2022/1/9 8:38 AM
 */
public class Demo1_04 {
    public static void main(String[] args) {
        String str1="abc"+"def";
        String s2=new String(str1);
        if (str1==s2) System.out.println("==succeeded");
        if (str1.equals(s2)) System.out.println(".equals() succeeded");
        float x = 26f;
        int y=26;
        float z = x/y;
        System.out.println(z);
        int a= 9;
        if (a>8 && a<10 ) System.out.println("true");
        String s="";
        System.out.println(s.length());
    }
}
